"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" MANAGE THE QUOTATION MARKS SETTING """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" PRODUCT : R:BASE VERSION : 3.1 CATEGORY : PROGRAMMING SUBCATEGORY : TOOLS """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" The CVAL function requires quotation marks on literal values, so you need to use a dotted variable to save the QUOTES setting. For example, the following code, adapted from RESTORE.RMD (a program that comes with R:BASE), saves the current quotation mark setting in a variable named VQSAVE: SET VAR vq TEXT = QUOTES SET VAR vqsave = (CVAL(.vq)) SET QUOTES=' *( Insert R:BASE program that requires single quotation marks.) SET QUOTES=.vqsave Use this code segment to run a program that requires single quotation marks inside an environment that uses some other QUOTES setting.