Using CRBasic for CR1000 version std24
I get a bong sound and an error message when I enter the following code line :
Public ProgDate As String * 8 = "02/28/12"
The error message is
line 108: You have declared one or more invalid variable names containing embedded spaces......
It compiles without objection when I compile and save. The example line in Help "Public" entry which uses 'StringVar' behaves identically.
Is there some alternate formatting that avoids the bong sound? Shall I just assume it will work and that the bong is a false indicator?
Hi Dryden,
What version of the Editor? I am not seeing a problem using the most recent release. I just copied your text above into my editor.
Dana
CRBasic Editor 2.9.0.22 on first blue page of About
With a copy of Dryden's program, I see the problem in 2.9 & 3.0, but not 3.1. So it looks like something that was resolved in LN 4.0 release.
Dana W.
As far as I can tell, the code works in the logger. Thank you for checking in to it.