User Manual table of contents
 INDEX | GETTING STARTED | TASKS | LANGUAGE | LIBRARY | SYSTEM | SAMPLES

Release Notes for Version 1.0d65


Home
Products
*Tour
*Manual
Corporate
Support
Search



!
Quick Reference
Object Types
System Properties
System Methods
Command-Line
Binary Operators





Whitespace in Browser Preview
The shell menu command "Preview in Browser" now compresses whitespace in pop!talkTM documents correctly.

String.AsOrderedCollectionFromCSV count fixed
In some cases String.AsOrderedCollectionFromCSV was incorrectly returning one too many items, including an empty string at the end of the collection. This bug has been fixed.

<directory> System Method
The <directory> method can be used to get a list of some or all the files and subdirectories within a directory. <directory> returns an OrderedCollection of Filenames for the contents of a directory.

For example, this code:

&(x = directory(pattern="*.pt"));
<x.collect>
<each>
</collect>
Produces the following output:
C:\popsite\CommandLine\Debug\foo.pt
C:\popsite\CommandLine\Debug\goo.pt
C:\popsite\CommandLine\Debug\mike.pt
C:\popsite\CommandLine\Debug\t.pt

If you want to filter out the directories and just get Filenames, when looping thru the OrderedCollection of Filenames, you can use FileName.FileInfo.IsDirectory

 


powered by pop!site Copyright 1995-1997. Pragmatica, Inc. All Rights reserved.
Pragmatica, pop!site and pop!talk are trademarks of Pragmatica, Inc.
Modified: 05 May, 1997 12:34:33

Page Feedback
Webmaster Contact