space Baylys
Just practicing to pass the Turing test.
space
space
space
space
Developer for Hire!
space
addedValues Plugin
space

Home

What's new

Bayly.Root

Cornershop Plugin

Career

edutools Root

Enhancements

Interests

linguist Plugin

Manila

Patches

space

mainresponder

manilaData

manilamacros

manilaSuite

system

space
space

agents

verbs

space
space

apps

builtins

space
space

betty

export

html

rootUpdates

table

space
space

tableContains

space

webserver

Patches by Group

Papers

Sales

Sign My Guestbook

User(land) Relations.

Contact Address

Search Baylys

urlchains

space
Join Now
Login
space space space

system.verbs.builtins.table.tableContains

This builtin fails if the address being tested does not exist.

Amended script :

on tableContains (adrTable, adrItem) //4.2
  «Change Notes:
  «10/4/04; 7:08:23 PM by JES
  «Properly handle objects inside sub-tables which are not defined, rather than cause an error. Change suggested by DAB.
  «5/18/98 PBS
 unaltered lines omitted
  «4/6/98 PBS
 unaltered lines omitted
  «2/12/98 at 3:14:52 PM by PBS
 unaltered lines omitted
  «10/31/97 at 1:25:00 PM by DW -- moved from toys.tableContains
 unaltered lines omitted
  adrTable = address (adrTable)
  local (nomad = adrItem)
  if not defined (nomad^) or typeOf (nomad^) != tableType //01/03/23, 14:22:48 by DAB
  nomad = parentOf (nomad^)
  loop
 unaltered lines omitted
«tablecontains(@scratchpad, @mainresponder.nosuchaddress)

Relative to Frontier version 9.7b10