--
You received this message because you are subscribed to the Google Groups "xblite" group.
To post to this group, send email to xbl...@googlegroups.com.
To unsubscribe from this group, send email to xblite+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/xblite?hl=en.
--
You received this message because you are subscribed to the Google Groups "xblite" group.
To view this discussion on the web visit https://groups.google.com/d/msg/xblite/-/LGwn4YrcvMYJ.
--
In "Windowsland", a newline flag is a sequence of "carriage return" +
"line feed".
For this purpose, D. has recently defined the global constant $$CRLF$,
which is replaced at compile trime by the string "\r\n".
I prefer PRINT over WRITE because it nicely formats numeric variables,
with the only 2 (small) problems that:
1. when PRINTing a positive number, it replaces a + sign by a space,
2. when PRINTing a newline, it sends only \n as a newline instead of the
Windows sequence "\r\n".
My solutions are:
1. PRINT STRING$(i) instead of PRINT i,
2. PRINT st$;"\r" instead of PRINT st$, the \n being appended by PRINT.
bye! Guy
So in the following bit of codec = 100
a$ = "my string"
a$ = STRING(100)
a$ = STRING(c)The line a$=STRING(100) says that "a" is a variable that is defined to hold a string and the STRING(100) prepares 100 as a string. Is that a fair way to look at it? If you wrote a$="100" I assume the quotes do the same thing. In the case of "c" it is defined as a variable that holds integers so it needs to be converted by STRING(c) so that a$ can hold it. Am I getting this?
After the last program statement does c become c$?
Is c now a string variable or does the statement merely convert the contents of c as it moves it into a$?
--
You received this message because you are subscribed to the Google Groups "xblite" group.
To view this discussion on the web visit https://groups.google.com/d/msg/xblite/-/1vnzUyPNZ08J.
To post to this group, send email to xbl...@googlegroups.com.
To unsubscribe from this group, send email to xblite+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/xblite?hl=en.