Archive of UserLand's first discussion group, started October 5, 1998.

workspace.checkHeadlines

Author:Brent Simmons
Posted:3/17/1999; 3:19:36 PM
Topic:workspace.checkHeadlines
Msg #:4221
Prev/Next:4220 / 4222

Workspace.checkHeadlines is enclosed.

What it does

This script is a utility script that checks objects for headlines that are greater than 255 characters.

Why use it

If you want to share scripts from Frontier 6 with Frontier 5 users, it's necessary to make sure headlines in scripts aren't greater than 255 characters. This is because of the comment-bit bug.

How to use it

Call it with the address of the object you want to check. If the address points to a table, it will check all the objects in the table and its subtables.

The second parameter, flCheckScripts, is an optional boolean that defaults to true. If true, then scripts are checked for headlines greater than 255 characters.

The third and last parameter, flCheckOutlines, is an optional boolean that defaults to false. If true, then outlines are checked for headlines greater than 255 characters.

Return value

The script returns a list of addresses of scripts, outlines, or both that contain headlines that are greater than 255 characters. If it finds no long headlines, then an empty list is returned.






This page was archived on 6/13/2001; 4:48:51 PM.

© Copyright 1998-2001 UserLand Software, Inc.