Questions tagged [quotations]

Code quotations, a language feature that enables you to generate and work with F# code expressions programmatically. This feature lets you generate an abstract syntax tree that represents F# code.

Code quotations, a language feature that enables you to generate and work with F# code expressions programmatically. This feature lets you generate an abstract syntax tree that represents F# code.

For more information about F# quotations, please visit its MSDN page.

190 questions
0
votes
1 answer

Running an rsync command from a variable -- quoting not honored

I know there are guides and answers regarding quotes. I have read them (all day long), but i still cannot get my simple script to work. I have set up script1.sh and try to run a command. The command has to be read to a variable so I can echo it,…
0
votes
2 answers

Quoting variable in application call

I'm trying to run an application that needs a parameter passed in single or double quotes: bwa mem -R '@RG\tID:foo\tLB=foo\tPL=illumina\tPU=1234.1\tSM=bar' ... I'm trying to run this in a script: #!/usr/bin/bash var=foo_bar first=$(echo $var |…
fugu
  • 6,417
  • 5
  • 40
  • 75
0
votes
0 answers

Creating record in php quotation mark issue

I'm trying to create a user record to input into a phpmyadmin database. createUserRecord($usersTable,…
Katie
  • 19
  • 5
0
votes
1 answer

Android Parse a JSON String With Quotes in Keys and Values

Android JSON parsing is rather straightforward until it comes to have json reserved characters in your keys/values. I have JSON coming from an HTTP socket whose response is put into a string variable. It looks like this {"ZboAdtPw4bA":"Ben Heck"s…
0
votes
1 answer

How to have a quotation inside a list item in org-mode?

So, I would like to have something like this: 1. This is a list item. This is the second line of the list item. 2. This is another list item. This is another line of this item. #+begin_quote This is a quotation that should belong to the 2nd…
Jeff
  • 953
  • 2
  • 11
  • 21
0
votes
1 answer

How can I feed this long line of arguments to an executable?

Arguments file On args.txt, there are long series of arguments for different call of an executable. Each line contain the arguments for a single call of the executable. One line of args.txt looks like 2 1 -A 7 -B true -C 0.0035 -D /path/to/somewhere…
Remi.b
  • 17,389
  • 28
  • 87
  • 168
0
votes
0 answers

Apostrophe/Quotation Not Working

This is kind of silly, but the answer is eluding me and the issue is driving me a bit bonkers. Every now and then Excel decides to not let me use ' and " properly, forcing me to press another key before it appears. The thing is, the only solution I…
0
votes
1 answer

"Unbound module quotation" error, even after loading camlp4o.cma

I'm new to OCaml, and I'm trying to follow 4.3 of this tutorial for defining custom quotation behavior. From what I've read, it seems that loading camlp4o.cma is what makes the Quotation module visible to OCaml. So I tried the following in the OCaml…
user287393
  • 1,221
  • 8
  • 13
0
votes
1 answer

SQL commands showing up as string

This is my code $query = "SELECT * FROM users WHERE email='".mysqli_real_escape_string($link, $_POST['loginemail'])."'AND password='".md5(md5($_POST['loginemail']) .$_POST['loginpassword']). "'LIMIT 1"; In my text editor, the AND and LIMIT…
QHafeez
  • 197
  • 1
  • 4
  • 14
0
votes
1 answer

Xcode displaying quotation marks within my label code

Hi I wish to display my quotation marks within my label, For example below displays what I want it to display but because of the nature of the quotation it only separates sections of context, how can I change my quotation marks so that I can display…
0
votes
0 answers

PHP str_replace not replacing entire string?

I've been working on a very large, complicated framework I'm writing. I have used a process similar to this one for two other packages, and it worked flawlessly, however this str_replace is giving me trouble. This is a small snippet from a much…
Allenph
  • 1,875
  • 27
  • 46
0
votes
5 answers

Elaboration of A quotation on 'Simple Design'

An excerpt from Programming Perls: A Simple Design : Antonie de Saint-Exupery, the Fresh writer and aircraft designer, said that, *"A designer knows he has arrived at perfection not when there is no longer anything to add, but when there is no…
jai
  • 21,519
  • 31
  • 89
  • 120
0
votes
0 answers

split Window "Radio Button Test" into Window, Radio Button Test

I am having trouble parsing an input file properly in Java. Input file: Window "Radio Buttons" (300, 200) I need to split it into: Window " Radio Buttons " ( 300 , 200 ) I am currently using line.split("\\s") which is giving…
0
votes
1 answer

Extract string from between quotations python 3.4 serial port

I want to identify which serial port of my computer is being used, to do so I have (VSPE which is a virtual serial port emulator just like Eltima virtual serial port driver 7.1) and the following code import sys import glob import serial def…
0
votes
2 answers

random quote generator in php using mysql

i coded a random quote generator in php using mysql but also jquery. however when i try to integrate it with facebook, since i opted to use fbml, i could not use jquery. how do i get the quote to display randomly in php at say, 30 mins, without…
input
  • 7,503
  • 25
  • 93
  • 150