[Gambas-user] Import code to EXEC from file

Emil Lenngren emil.lenngren at ...626...
Thu Mar 1 22:42:22 CET 2012


For reading from a file: http://gambasdoc.org/help/lang/lineinput?v3

<http://gambasdoc.org/help/lang/lineinput?v3>Then for each line, execute
the command you want (i.e. the string in the file).

/Emil

2012/3/1 abbat <abbat.81 at ...787...>

>
> I have now on Button1 next:
>
> Public Sub button1_Click()
>
>   Exec ["killall", "tvtime"]
>   Exec ["killall", "leafpad"]
>   Exec ["killall", "abiword"]
>
>  End
>
> Help me please do that if I have in file ~/prkill next:
>
> Exec ["killall", "tvtime"]
> Exec ["killall", "leafpad"]
> Exec ["killall", "abiword"]
>
> and how to import file ~/prkill and execute code from file.
>
> Public Sub button1_Click()
>     ????????????
>   End
>
>
> Sorry for such question and thanks for Your time anyway.
>
> --
> View this message in context:
> http://old.nabble.com/Import-code-to-EXEC-from-file-tp33424578p33424578.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list