Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 4 and 5 Forum

Notes/Domino 4 and 5 Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext

2 script library interacting not correctly / AppendText and global constant
Olaf Drechsler 13.Nov.03 09:22 AM a Web browser
Domino Designer -- LotusScript Release 4 All Platforms

Hi there,

I have two libraries:

1 holds constants, e.g. gl_MailGender = "Gender: "
2 holds subs and functions

In 2 it is possible to reference to 1 and it always worked. But I introduced some new constants which are meant to be written into the body-field of an email and they can't be referenced.

The code looks like this:

Gender$ = doc.fl_Gender(0) 'either male or female
Set rtitem = New NotesRichTextItem( maildoc, "Body" )
Call rtitem.AppendText( gl_MailGender )
Call rtitem.AppendText( Gender$ )
Call rtitem.AddNewLine( 1 )

Expected output:
Gender: male

Output:
male

I did check in the debugger and found out that all constants which are used with AppendText are not listed in globals but are listed together with the variables.

What is wrong? Is it the use of AppendText with constants or something else?

Thanks in advance for everybody helping me, Olaf




2 script library interacting not co... (Olaf Drechsler 13.Nov.03)
. . solution (Olaf Drechsler 13.Nov.03)






  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

  Lotus Support
Lotus Support
Product support pages index
Search knowledge base (Technotes)
Search support downloads
Lotus Support RSS

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM SmartCloud Meetings
IBM Web Content Manager
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow