WallOfShame: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
Recall# [ADD# Num#('6000') Recall# ADD# Num#('7000') Operation# ] | Recall# [ADD# Num#('6000') Recall# ADD# Num#('7000') Operation# ] | ||
When have those been legal? | When have those been legal? | ||
==This was obviously not tested== | |||
IF Equal? RadialOp? AND ToolGroup# Num#('1') | |||
This would have ignored the RadialOp? and the AND | |||
IF Flag?('SubSpindleIn') SameTool? | |||
Was there another word you were looking for? Maybe AND? | |||
Latest revision as of 22:06, 13 April 2015
Wall of Shame
An informal list of exceptionally bad prog code. It should serve as a warning to others.
That's not how named variables work
SeqTool:
'N' Recall# Num#('SeqTool')
Save# Num#('SeqTool') Add# Recall# Num#('SeqTool') Num#('100')
RETURN
Someone was a bit unclear on the concept, this is why training helps.
Brackets?!?!
Recall# [ADD# Num#('6000') Recall# ADD# Num#('7000') Operation# ]
When have those been legal?
This was obviously not tested
IF Equal? RadialOp? AND ToolGroup# Num#('1')
This would have ignored the RadialOp? and the AND
IF Flag?('SubSpindleIn') SameTool?
Was there another word you were looking for? Maybe AND?