Beginning script writing help? - Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes) - CHDK Forum supplierdeeply

Beginning script writing help?

  • 6 Replies
  • 3987 Views
Beginning script writing help?
« on: 06 / January / 2009, 08:24:18 »
Advertisements
I have an A550 and would like to learn script writing. Is there a guide for beginners available or at least a list of commands that can be used?

Thanks.

*

Offline fe50

  • ******
  • 3147
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Beginning script writing help?
« Reply #1 on: 06 / January / 2009, 08:34:08 »
I have an A550 and would like to learn script writing. Is there a guide for beginners available or at least a list of commands that can be used?

See CHDK wikia: uBasic, uBasic Syntax and also uBasic TutorialScratchpad.

*

Offline zeno

  • *****
  • 891
Re: Beginning script writing help?
« Reply #2 on: 06 / January / 2009, 12:40:38 »
You might find it useful to try out your scripts on a PC (or Mac) with my interactive debugger - see http://www.zenonic.demon.co.uk/kapstuff/zubdb.html
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

Re: Beginning script writing help?
« Reply #3 on: 08 / January / 2009, 21:19:43 »
Thanks for the links, fe50 and THANKS for the debugging program, zeno. You both gave me a big head start on learning this stuff.


Re: Beginning script writing help?
« Reply #4 on: 08 / January / 2009, 23:41:40 »
The interactive debugger, how often is it updated to reflect changes in chdk ubasic? Does it HAVE to be updated?

*

Offline zeno

  • *****
  • 891
Re: Beginning script writing help?
« Reply #5 on: 09 / January / 2009, 12:57:02 »
It does have to be updated (inside there's a modified version of the interpreter that's in CHDK). I try to keep it up to date - I'm not aware of anything currently missing.

Actually, I just checked and there is a recent fix that's not in the debugger - the "wheel_right" statment won't work
« Last Edit: 09 / January / 2009, 13:12:11 by zeno »
A570, S100, Ixus 127
Author of ASSIST, STICK, WASP, ACID, SDMInst, LICKS, WICKS, MacBoot, UBDB, CFGEdit

Re: Beginning script writing help?
« Reply #6 on: 10 / January / 2009, 07:44:04 »
Thanks for the heads up.

 

Related Topics