Puting text in columns in a field

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
novarcproducts
Posts: 13
Joined: Fri Oct 05, 2007 12:45 am

Puting text in columns in a field

Post by novarcproducts » Sat Dec 06, 2008 4:37 am

Hi all,
sorry if this is an ignorant question but here goes. I need to put numbers into a field in the form of columns. For instance I need them to line up vertically and separated by spaces such as in a financial report or something similiar. Then I want to print the contents of the field as a report. Is there a script or function that can perform this without having to purchase an outside add on? I have RR 3.0
Thanks for any help.
Ron :shock:

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Sat Dec 06, 2008 10:56 am

Hi Ron,

As a start, make a return and tab delimited list and put the list into a field. Set the tabstops of the field to a comma delimited list of integers, e.g. 150,300,450,600 for a list with 5 columns.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

novarcproducts
Posts: 13
Joined: Fri Oct 05, 2007 12:45 am

Post by novarcproducts » Sat Dec 06, 2008 11:17 pm

Thanks Mark.

I new it had to be something simple.

Thanks for the help,
Ron

Post Reply