Toolkit Program Functional Listing

CGI Processing Tools

Program

Description

Syntax

utcgi.wbb

Set Template Variables Based on the Operating System Environment and CGI Input Stream

call "utcgi.wbb",env$,cgi$,errmsg$

utsend.wbb

Send Text Back to the Client Browser

call "utsend.wbb",text$

uterr.wbb

Generic Error Display Routine

call "uterr.wbb",errnum,linenum,progname$

utexit.wbb

Clean Up Basic Web Utility Work Files in the Win-CGI Environment

call "utexit.wbb",cgi$

utwatch.wbb

Interface with a Shared Directory CGI Request Process

run "utwatch.wbb"

 

Data Merging Tools

Program

Description

Syntax

uthtmout.wbb

 

Merge HTML Text with Data from a Data Template

 

call "utfrmout.wbb",tpl$,text$,work$

utfrmout.wbb

Merge Template Data Into HTML Form Output

call "utfrmout.wbb",tpl$,text$,work$

File Listing Tools

Program

Description

Syntax

uthtmfil.wbb

Generate HTML List from a File, Given a Key Range and Format Definition

call "uthtmfil.wbb", chan, first$, last$, keynum, maxrec, count, curkey$, tpl$, text$, work$, linkexpr$

uthtmkey.wbb

Generate HTML List from a File, Given a List of Keys

call "uthtmkey.wbb",chan,keys$,keylen,tpl$,text$,work$,linkexpr$

uthtmsel.wbb

Generate HTML List from a BBx or PRO/5 Select Verb

 

call "uthtmsel.wbb",fl$, where$, sortby$, opt$, maxrec, skip, count, ,tpl$,text$,work$,linkexpr$

utselect.wbb

Create Select Where Clause from CGI Input Fields

call "utselect.wbb", cgi$, tpl$, where$, andor$

Form and HTML Creation and Capture Tools

Program

Description

Syntax

utfrmgen.wbb

Generate Form Input Tags from a Template and an Optional List of Fields and Parameters

call "utfrmgen.wbb",tpl$,flds$,captions$,flags$,captags$,work$

utfrmgn2.wbb

Generate a Complete HTML Form from a Template

call "utfrmgn2.wbb",tpl$,flds$,captions$,flags$,captags$, actionval$, submitval$, resetval$, placement,work$

utfrmin.wbb

Copy CGI Input to a Data Template

call "utfrmin.wbb",cgi$,tpl$

uthtmgen.wbb

Generate HTML Tags and Text from a Template

call "uthtmgen.wbb",tpl$, flds$, captions$, flags$, captags$, linkexprs$, work$

Other CGI Tools

Program

Description

Syntax

utencode.wbb

URL Encode and Decode a Text Value

call "utencode.wbb",decode,text$,result$

utentity.wbb

Convert HTML Markup Entities to Browser-Displayable Format

call "utentity.wbb",text$

utmeta.wbb

Scans Text For Special Substitutions

call "utmeta.wbb",tpl$, text$

utmore.wbb

Create "More Records" Information, Either As a URL or As Hidden Form Tags

call "utmore.wbb",cgi$, flds$, moreurl$, morehidden$

utses.wbb

Manage Session Record

call “utses.wbb”,mode,sesrec$,errmsg$

utsub.wbb

Substitute Occurrences of Text with Replacement Text

call "utsub.wbb", text$, from$, to$

uttable.wbb

Create HTML Table from an Array

call "uttable.wbb", caption$, options$, dat$[all], work$

uttags.wbb

Append Text with Specified HTML Markup Tags to a HTML String

call "uttags.wbb", tags$, text$, html$

Template Tools

Program

Description

Syntax

uttplbas.wbb

Load Data Template from Basis Data Dictionary

call "uttplbas.wbb", dict$, fl$, control$, tpl$, errmsg$

uttplcp.wbb

Copy Matching Values from Source to Destination Templates

call "uttplcp.wbb",source$, dest$

Conversion Tools

Program

Description

Syntax

utcdate.wbb

Convert Text Date to Internal Julian Integer or Date/Time Number

call "utcdate.wbb",strdate$,juldate

utcdtf.wbb

Convert Typical and OEM Text Date Formats to/from Julian Date

call "utcdtf.wbb",tojul,format$,text$,juldate

utcnum.wbb

Convert Formatted Numeric Text String to a Number

call "utcnum.wbb",text$,value

utcprop.wbb

Convert a Text String to Proper Case

call "utcprop.wbb",text$

utcstr.wbb

Unmask a String, Based on a Mask, and Return an Internal Value

call "utcstr.wbb",text$,mask$,result$

Memo Field Tools

Program

Description

Syntax

utmmoin.wbb

Convert Memo Field (text area tag) CGI Input to Blocked Text

call "utmmoin.wbb",cgitext$,blocked$,block

utmmoout.wbb

Format Text Containing CR-LF Characters As HTML

call "utmmoout.wbb",textin$,textout$

RS-232 Serial Connection Tools

Program

Description

Syntax

rsread.wbb

Read a record by way of an RS-232 serial connection (UNIX only)

call "rsread.wbb",filename$,mode$,ky$,knum,rec$,errmsg$

rsreadm.wbb

Read a record range by way of an RS-232 serial connection (UNIX only)

call "rsreadm.wbb",filename$,key1$,key2$,knum,ky$[all],rec$[all],count,errmsg$

swatch.wbb, rswatch.sh

Watch a RS-232 serial port on a target system (UNIX only)

rswatch.sh -d tty-device -s "stty parameters" -v

Other Tools

Program

Description

Syntax

utaddr.wbb

ADDR low-level Basic Web Utility Routines

call "utaddr.wbb"

utenv.wbb

Get Environment Variable

call "utenv.wbb",name$,value$

utisip.wbb

Verify if the Remote Client Address Is in a List of Valid Addresses

call "utisip.wbb",env$,iplist$,valid

uttempfl.wbb

Create and Open a Temporary String File

call "uttempfl.wbb", tempfile$, tempchan

 

 
Alphabetical Listing

 
Return to first page