Console::ReadLine

[Migrated content. Thread originally posted on 17 April 2012]

I define a string variable,
01 name         string.
Then, how can I assign it the user input via the Console class' ReadLine method?

invoke type Console::ReadLine(pName)
set pName to Console::Readline()

Neither goes by without compiling errors, despite ReadLine's definition. I must admit lack of knowledge on oo, but the other methods from Console seem to work just fine.

On this regard, is there anywhere I can read descriptions for the different default classes and their methods?