#114759 - 2004-02-25 01:49 PM
Re: Add network printer
|
jering
Fresh Scripter
Registered: 2004-02-25
Posts: 17
|
I have made an UDF out of this template:
;FUNCTION Name_of_UDF ; ;ACTION Short description of purpose ; ;AUTHOR Name of author ; ;CONTRIBUTORS Name(s) of contributor(s) ; ;VERSION UDF version ; ;DATE CREATED YYYY/MM/DD ; ;DATE MODIFIED YYYY/MM/DD ; ;KIXTART Minimum required Kixtart version ; ;SYNTAX NAME_OF_UDF(PARAMETER 1, PARAMETER2 [, PARAMETER3]) ; ;PARAMETERS PARAMETER1 ; Description of first parameter ; ; PARAMETER2 ; Description of second parameter ; ; PARAMETER3 ; Description of optional first parameter ; ;RETURNS Type of return value ; ;REMARKS Additional remarks about the UDF ; ;DEPENDENCIES DependUDF @ http://www.kixtart.org/board/... ; Name and URL of UDFs that this UDF depends on ; ;EXAMPLE A short functional example demonstrating the UDF ; ;KIXTART BBS http://www.kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=12;t=000000 ; URL the UDF was posted under ; function Name_of_UDF($parameter 1, $parameter2, optional $parameter3) endfunction
And called it myudf.kix
In the *.bat file I wrote:
//10.100.3.100/netlogon/kix32 //10.100.3.100/netlogon/test.kix
In the test.kix file I wrote: CALL myudf.kix
But I get an error message. What am I doing wrong?
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 548 anonymous users online.
|
|
|