Question about varables
average joe
Posts: 795
What's wrong with this code and how do I make it work? Also is it possible to refrence ins, outs or dirs with alias / modifiers? I am a hobby designer and Pbasic is my first programming language. Any help would be much appreciated!
Logic VAR Byte
Logic_A VAR logic.BIT0...BIT2
Logic_B VAR logic.BIT3...BIT4
Mute_A VAR logic.BIT5
Mute_B VAR logic.BIT6
Logic VAR Byte
Logic_A VAR logic.BIT0...BIT2
Logic_B VAR logic.BIT3...BIT4
Mute_A VAR logic.BIT5
Mute_B VAR logic.BIT6
Comments
Did You get this to TOKENIZE with the Editor???
_____________$WMc%____
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Truth is out there············································ BoogerWoods, FL. USA
There already are names for portions of INS, DIRS, and OUTS. In particular, there are names for the two bytes of the 16 bit values and for the four nibbles as well as the individual bits. You can assign aliases to these names. See page 83 of the Stamp Syntax and Reference Manual.