[proFit-list] Data Window Info Field Problem& Feature Request

pro Fit Support profit at quansoft.com
Thu Jun 5 22:19:42 CDT 2008


Andrew

The length of strings in pro Fit scripts is limited to 255. However,  
when calling functions with named parameters, you can repeat a given  
string parameter. If you do so, pro Fit will automatically concatenate  
the strings, which allows you to pass longer string values.  
Specifically, you can e.g. call

	SetDataWindowProperties(window myWindow, info string1, info string2,  
info string3).

with string1, string2, string3 being strings of up to 255 characters  
each.

As to adding a switch command, we have that on our list. No promises,  
though.

Best regards

Kurt Sutter
QuantumSoft


On 5. Jun 2008, at 20:11, Andrew Cameron Beveridge wrote:

> I am running a Monte-Carlo type simulation with proFit. I would like  
> to
> add some information, such as parameters to the data Window Info  
> field.
>
> I use the command SetDataWindowProperties(window myWindow, info  
> 'myInfo').
>
> The problem I am having is that the string I would like to write is  
> too
> long.  There is a limit, 255 characters?, to what I can write to the  
> info
> field using a program. I have tried using multiple  
> SetDataWindowProperties
> commands, but that does not work either.
>
> Is there any way around this problem?
>
>
> Possible Feature Request
>
> In the next version of proFit, would it be possible to add a "Switch"
> command. In my simulation depending on the results of the random  
> number,
> there are more than two possible outcomes. It would be nice to have a
> switch command for the possible outcomes instead of resulting to  
> multiple
> nested if-then-else loops.
>
> Thanks for your help.
>
> Regards,
> Andrew
>
> _______________________________________________
> proFit-list mailing list
> proFit-list at quantum-soft.com
> http://mail.quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com




More information about the proFit-list mailing list