Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 04 NOV 2005 08:14:20PM xavier kdna wrote:

Hi forum members, I have again a doubt , this time is very simple, Is there a function that converts string to integer and also integer to string, this is for getting the a number from a edittext and make some calculations and show it on static text, thanks in advance


At 04 NOV 2005 10:09PM dsig _at_ sigafoos.org wrote:

Xavier ..

OpenInsight is a 'string' based (not like C) based language. OI will go from string to numeric and back to string and you don't have to worry ..

so it is possible to do

A=THIS IS A TEST'

A=2

B=A+1

but if you do

A=THIS IS A TEST'

B=A+1

you will get a nasty error like

NON-NUMERIC WHERE NUMERIC IS REQUIRED

IF you need to connect to an external (to oi) process (calling one of the window dlls) then you can create (or add to the many) prototype definitions.

Hope this all makes sense to you .. i am definitly NOT a 'propeller head' but there are plenty around to help out if you have a problem.

DSig

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/8011e1606e309904852570b00001501a.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1