Search found 8 matches
- Thu Dec 05, 2013 6:01 am
- Forum: BASIC programs
- Topic: More String Functions
- Replies: 6
- Views: 3813
Re: More String Functions
Thanks for the clarification ... had not seen the dot syntax for referencing a variable before
- Wed Dec 04, 2013 10:17 pm
- Forum: Other topics
- Topic: 3.1 version
- Replies: 25
- Views: 9291
Re: 3.1 version
Log(x) being the natural log of x in the original BASIC has been a pain for over 40 years! I recall having arguments about it when I was just 15. Thanks for making LN() ... It's one of the first things I usually do when writing math code ... I like the variations too...being able to express the base...
- Wed Dec 04, 2013 10:10 pm
- Forum: BASIC programs
- Topic: More String Functions
- Replies: 6
- Views: 3813
Re: More String Functions
Major handslap for me! You are right...i assumed you could not reference the function name (variable) on the right side of an equation...but forgot that SPLIT is not an equation., so it's fine as you wrote it. On the clearing out, you are correct again. Not sure how I missed that in testing, though,...
- Tue Dec 03, 2013 10:55 pm
- Forum: BASIC programs
- Topic: More String Functions
- Replies: 6
- Views: 3813
More String Functions
Here is another little library of string functions. These are Basic versions of some useful functions built into the REXX language. The library is V3 dependent as written I've included my own version of PARSE() which was done before V3 came out with SPLIT. They seem to produce identical results and ...
- Fri Nov 29, 2013 4:30 pm
- Forum: Other topics
- Topic: 3.0 version
- Replies: 20
- Views: 7178
Re: 3.0 version
The new Version 3.0 with all these functions works great.
Is there a way a user defined function could have an optional parameter like Instr() and Mid$().
Thanks for the quick work implementing these.
Is there a way a user defined function could have an optional parameter like Instr() and Mid$().
Thanks for the quick work implementing these.
- Fri Nov 22, 2013 2:41 pm
- Forum: BASIC programs
- Topic: String functions
- Replies: 7
- Views: 3920
Re: String functions
Thanks for the compliments. Line by line comments are a habit from my assembler coding days. I find that if I don't comment almost line by line, then I can't recall why I wrote a line of code six months later :) I'll bring out another version of the library shortly...adding a lot of useful functions...
- Tue Nov 19, 2013 6:16 pm
- Forum: BASIC programs
- Topic: String functions
- Replies: 7
- Views: 3920
Re: String functions
Thanks, I did not realize I could just redefine the array on the fly...good way to clear it. Can I change the sizes of each dimension in a multi-dimension array? Is that a costly process interns of computing time? In later basics there is a REDIM statement to do this and it usually has a PRESERVE ke...
- Mon Nov 18, 2013 10:26 pm
- Forum: BASIC programs
- Topic: String functions
- Replies: 7
- Views: 3920
String functions
While our host is adding many of these functions to the base language, I thought I would upload a little library of string functions I've been working on. I have several others in the works including a translate and some helpful but obscure functions around word matching. I hope these are helpful, t...