New topic: Convert string to boolean
<http://forums.realsoftware.com/viewtopic.php?t=45538> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message Carharttguy Post subject: Convert string to booleanPosted: Fri Oct 05, 2012 2:34 pm Joined: Wed Sep 17, 2008 2:45 pm Posts: 195 Hello I know the CType() keyword, so I want to use it to convert a string to a boolean, using this code: Dim b as boolean b = CType("True", boolean) But this doesn't work, anybody knows a good way to accomplish this? Thanks! _________________ My native language is not English. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
