Could we have: function libUrlGetLogField > return lvLogField > end libUrlGetLogField >
As libURL uses local variables like "lvLogField" there is AFAIK no way to get at them - I want to ensure a checkbox shows whether a custom logfield is set and at the moment I have to track it manually which is error prone? It complements "libUrlSetLogField" but is a bit shorter :) on libUrlSetLogField pField > local tField > > if word 1 of pField is "field" then > put pField into tField > else > if pField is a number then > put "field" && pField into tField > else > if word 1 of pField is "id" then > put "field" && pField into tField > else > put "field" && quote & pField & quote into tField > end if > end if > end if > if exists(tField) then > put the long id of tField into tField##standardise > put tField into lvLogField > else > put empty into lvLogField > end if > end libUrlSetLogField > _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
