Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:51 02 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : $date, $time why did not it work?

Author Message
drkl

Senior Member

Joined: 18/10/2015
Location: Hungary
Posts: 102
Posted: 08:27am 15 Nov 2017
Copy link to clipboard 
Print this post

? MM.VER
5.0405
> ? DATE$
0
Error: Syntax
> ? DATE$()
0
Error: Syntax
>

What do I get rid of?
drkl
 
Quazee137

Guru

Joined: 07/08/2016
Location: United States
Posts: 593
Posted: 08:38am 15 Nov 2017
Copy link to clipboard 
Print this post

make sure there is a space after ?
try
print date$
 
drkl

Senior Member

Joined: 18/10/2015
Location: Hungary
Posts: 102
Posted: 08:58am 15 Nov 2017
Copy link to clipboard 
Print this post

Thank You

Found it. The problem occurs in MMEDIT / VT100 mode!
@Tassyjim?

drkl
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 09:24pm 15 Nov 2017
Copy link to clipboard 
Print this post

  drkl said   The problem occurs in MMEDIT / VT100 mode!
@Tassyjim?

drkl




Works for me...

Jim
VK7JH
MMedit
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3292
Posted: 11:42pm 15 Nov 2017
Copy link to clipboard 
Print this post

BASIC is sensitive to the placement of spaces but in the next version one of the additional features will be more tolerance for missing or extra spaces. For example, a space will not be required after a ? (the above issue) and extra spaces after an array name and before the opening bracket will not cause an error.

Geoff
Geoff Graham - http://geoffg.net
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025