Talk:TIME$

From C64-Wiki
Jump to navigationJump to search

TIME, TIME$ and STATUS (and their equivalent two-letter "short forms") are not "keywords" in the same sense as e.g. PRINT and GOTO all the other keywords – they are, just as Jodigi has stated in the article text, system variables. For instance, system variables don't have tokens, bute are instead hard-coded as "special cases" in the BASIC ROM routines that retrieves the values of variables. This is probably the reason why no BASIC expansion I've seen, adds new system variables, but always functions.

Therefore I suggest that these three system variables be treated slightly different from the other BASIC words: They'll go into a new Category:System variables, and have a slighly different fact box template; one that does not include a "Token" field... said BinaryDane 19:23, 30 October 2007 (CET)


This interesting discussion we have got last year in the German C64-Wiki.de. It is right, TIME; TIME$ and STATUS aren't "tokens", but "keywords" and also system variables. The reference books of Commodore in the 80's show this three system variables in the keyword list. Also should be this three system variable in the category BASIC-Command or in the BASIC keyword list. When we need a special info box for this system varibles, we can modify the standard BASIC infobox. Additional can be getting this 3 system variables a own category. --Jodigi 03:14, 31 October 2007 (CET)
Nice and tidy; exactly as I'd like it! :-) I'll go ahead with that, and also create and organize the necessary categories. I was looking in C64 Programmer's Reference Guide for those abbreviations, and it has the system variables in the list as well. Yet for the reasons stated above, I decided on giving them special treatment apart from the "normal" keywords...
Besides, I just checked for "handling" ROM addresses; this is also much more "fuzzy" and unclear than for the other keywords: These are probably best handled in the article text, and so I plan on a system variable fact-box template with no ROM address field... said BinaryDane 17:28, 31 October 2007 (CET)