ruby - Can't declare variables in Powershell -
ruby - Can't declare variables in Powershell -
i next along larn ruby hard way book , having problem powershell. have gotten ruby running in shell , can perform calculations , run .rb files. however, when seek simple variable assignment such as:
i = 4
i big reddish error message saying along lines of "i : term 'i' not recognized name of cmdlet, function, script file, or operable programme etc..."
why trying read script/program name instead of variable assignment?
using ruby 2.0.0p576 (x64) on 64 bit windows 8 machine if helps @ all.
i realized won't allow me basic comparisons 4 == 9. tries read assignment reason.
did seek irb command ? calculations , mimics need run irb first.
ruby variables declaration
Comments
Post a Comment