PDA

View Full Version : Proposal: TRANSLATE command in Programming Editor for aliasing command names



kranenborg
14-08-2004, 21:39
Currently the SYMBOL command allows for using approprate and meaningful names for constants and variables, but precludes the use of reserved words (i.e. command names). I do understand and support this restriction, but non-english young enthousiasts could be well supported by a TRANSLATE command that would allow them to use native and obvious names for commands (also useful when they are demonstrating). A syntax could be:
TRANSLATE xxxx = yyyy
where yyyy requires to be a command word. For example, my dutch son who has now become very enthousiastic about the PICAXE would use the "ga_naar" command instead of the english alias "goto" if the following statement were possible:
TRANSLATE ga_naar = goto
His friends would then immediately comprehend his programs, as ALL foreign names can be avoided

Â*