[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== Set_Property/PS_Set_Property (OpenInsight Specific) ====
=== At 09 DEC 1997 07:09:15AM Carl Pates Sprezzatura wrote: ===
{{tag>"OpenInsight Specific"}}
What's the maximum variable size Set_Property/PS_Set_Property accepts as the 3rd parameter?
I came across a list of keys from Btree.Extract that was 65527 bytes in length, and when I tried to store this in a '@' property I got a 'Variable Exceeds Max Length' from PS_Set_Property...so what's being added?
Just curious...(I need to know what to truncate it down to basically)
Thanx,
Carl Pates
Sprezzatura Ltd
----
=== At 09 DEC 1997 07:42AM Oystein Reigem wrote: ===
Carl,
What's the difference between Set_Property and PS_Set_Property? (I tried to ask somebody in the know recently, but unfortunately he didn't follow up the conversation.)
- Oystein -
----
=== At 09 DEC 1997 06:41PM Andrew P McAuley wrote: ===
There are real properties and pseudo properties. PS_SetProperty is just a teeny bit quicker than Set_Property for the properties handled by Presentation Server
----
=== At 09 DEC 1997 08:58PM Cameron Revelation wrote: ===
Oystein,
[i]What's the difference between Set_Property and PS_Set_Property?[/i]
1) Set_Property is documented and supported, PS_Set_Property is not.
2) PS_Set_Property handles a subset of the properties that Set_Property handles.
The Set_Property function is a shell that directs various properties to the functions that implement those properties. A few properties are handled in Set_Property itself. One of the functions that Set_Property uses to implement certain properties is PS_Set_Property.
Cameron Purdy
Revelation Software
----
=== At 09 DEC 1997 09:00PM Cameron Revelation wrote: ===
Carl,
[i]What's the maximum variable size Set_Property/PS_Set_Property accepts as the 3rd parameter?[/i]
All three parrameters must total at most 65526. This is related to how they are packed for IPC from OE to PS.
Cameron Purdy
Revelation Software
----
=== At 12 DEC 1997 08:01AM Oystein Reigem wrote: ===
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=670642E0EC62F6C8852565680042C3E0|View this thread on the forum...]]