05.01.2013 Views

Downloading - Weber Marking Systems

Downloading - Weber Marking Systems

Downloading - Weber Marking Systems

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

C128fncl()<br />

checksum(type,string)<br />

chr(ascii_code)<br />

Returns a Code 128 Function 1 character to a barcode.<br />

Appendix A: Data Expressions<br />

Generates a checksum of specified type for the given string.<br />

Parameters: Type, string.<br />

Type codes are:<br />

1 HIBCC (Mod 43)<br />

2 UCC (Mod 10)<br />

Example: checksum(2,1234567890)<br />

Result: 5<br />

Returns the ASCII equivalent of a number.<br />

Parameters: ASCII code.<br />

Example: chr(33)<br />

Result: !<br />

See also:<br />

asc<br />

dll(library_name,<br />

function_name,[string1,[string2,[string3,[string4,[string5]]]]])<br />

This function allows calling into an external program called a DLL or<br />

Dynamic Link Library. This is provided to allow customization of the<br />

software and requires a custom DLL to be written by a programmer.<br />

For proper use of this function contact <strong>Weber</strong> <strong>Marking</strong> <strong>Systems</strong>.<br />

Example: dll("custdll.dll","Mod87","123422234");<br />

Result: 1234222349<br />

Note: This example would require that a DLL be written and be called<br />

custdll.dll. It would need to have an entry point within it called Mod87<br />

which accepts a single string parameter.<br />

Legitronic User Manual (v3.4) 143

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!