Search found 87 matches

by Angel
Wed May 18, 2016 11:12 am
Forum: General category
Topic: how to implement the function iif
Replies: 9
Views: 5540

how to implement the function iif

Your code for IIF function works fine. Thanks Marco.Example for two simultaneous conditions:Object frmForm as Form  Caption="Form"  Width=640  Height=480  Center  `Other objects  Object btnButton1 as Button    Tag=0    Top=10    l...
by Angel
Mon May 16, 2016 4:31 pm
Forum: General category
Topic: how to implement the function iif
Replies: 9
Views: 5540

how to implement the function iif

Thanks Marco.
by Angel
Fri Mar 18, 2016 4:42 am
Forum: General category
Topic: how to implement the function iif
Replies: 9
Views: 5540

how to implement the function iif

Hello Sergio:Thanks for your answer. Your resolution is valid only for the specific case of the condition a> b. I want a general solution. For example, btnsave.enabled = iif (tabeditor (tabindex) = 2 and rcheditormodified = true, true, false).For any type of condition,>, <, <>, =, simple or complex....
by Angel
Tue Mar 15, 2016 7:42 pm
Forum: General category
Topic: how to implement the function iif
Replies: 9
Views: 5540

how to implement the function iif

unfortunately it does not work. Any help?
by Angel
Tue Mar 15, 2016 3:23 pm
Forum: General category
Topic: how to implement the function iif
Replies: 9
Views: 5540

how to implement the function iif

`Function iif(condition as string, value1 as integer,value2 as integer)Object frmForm as Form  Caption="Form"  Width=640  Height=480  Center   `Other objects  Object btnButton as Button    Tag=0    Top=10    left=10    `Width=100    `Height=30    Caption="Button1"    Hint="T...
by Angel
Sat Dec 13, 2014 12:52 pm
Forum: examples
Topic: fnxBasic runs Great , but no go for BerbelEdit
Replies: 5
Views: 7812

fnxBasic runs Great , but no go for BerbelEdit

I think there will be a problem only with words containing the character "ee" (), Spanish typically.For English keyboards:Press the "alt" key while Click on order numbers: 1, 6 and 4. The formula is: (alt) + 164. So it could write correctly the file name "cerrarpestaa.bmp&qu...
by Angel
Sat Dec 13, 2014 12:38 pm
Forum: examples
Topic: fnxBasic runs Great , but no go for BerbelEdit
Replies: 5
Views: 7812

fnxBasic runs Great , but no go for BerbelEdit

Thanks PaPi for your kind suggestion.
If the problem is the Spanish language for file names, I am willing to change the names to English and modify the source code. This will take a while to do so. And then again more time to put the program on fnxbasic web.
by Angel
Sat Dec 13, 2014 10:05 am
Forum: examples
Topic: fnxBasic runs Great , but no go for BerbelEdit
Replies: 5
Views: 7812

fnxBasic runs Great , but no go for BerbelEdit

I tried BerbelEdit in windows XP x86 and windows 7 x86 and it works great. I have not tested the x64 architecture. Sorry. I would like to have the solution, but right now I do not know the problem and the answer.
Best regards.
by Angel
Fri Nov 28, 2014 6:20 pm
Forum: discbugs
Topic: For IdealEdit users
Replies: 2
Views: 4039

For IdealEdit users

Idealedit is now called BerbelEdit. It is not a new version. Only solves a problem that presents the latest idealEdit.
It is available for download on the fnxbasic website.
by Angel
Wed May 14, 2014 9:50 am
Forum: General category
Topic: GetSystemTime example
Replies: 2
Views: 5321

GetSystemTime example

Hello Cvirus,
fnxBasic does not support Dword.
GetSystemTime can be replaced with GetLocalTime.