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

Build lambda expression programmatically in F#

Let's have the following function definition: module Helpers = [] let dummy (x:int) = x.ToString() By using the following quotation we get its representation as a lambda expression: <@ dummy @>;; val it : Expr<(int ->…
jruizaranguren
  • 12,679
  • 7
  • 55
  • 73
0
votes
2 answers

string - How to get the contents within first set of quotation marks and put into an array

I want to extract the text from within the first set of quotes for each line and put into an array. For example, take this text: 2014-03-20 16:53:39.741 -0700 Information 638 NICOLE Client "[WebDirect]" opening a connection from "24.114.54.155…
Aaron Turecki
  • 345
  • 3
  • 7
  • 24
0
votes
2 answers

Removing quotes OR including quotes when using append

I have a variable, PRODUCT_CUSTOM_1_ and PRODUCT_NAME_ . This is suppose to grab the product options from the html that is being displayed. We have a few products that contain quotations, " and '. When we grab these strings and post them elsewhere,…
docwho
  • 63
  • 1
  • 1
  • 11
0
votes
1 answer

Using strcat to append spaces. Compiles but overwrites string

The language I am working in is C. I am trying to use a mix of built in c string functions in order to take a list of tokens (space separated) and "convert" it into a list of tokens that is split by quotations. A string like echo "Hello 1 2 3 4"…
Clay Benson
  • 161
  • 1
  • 9
0
votes
4 answers

How to omit quotation marks usage in char type?

I'm having a really hard time adjusting function to my needs. First of all look at those three files and notice how I have to call f_texture function in main function in order to make it work: externs.h #ifndef EXTERNS_H_ #define EXTERNS_H_ extern…
Winged
  • 261
  • 2
  • 4
  • 11
0
votes
1 answer

SharePoint 2010 Search doesn't return strings last char if it's ' " '

I have a list of companies in my SharePoint 2010 server, and most of the items in it (not all) have a title of syntax like "Company Name" . Although when I search for a company on my search page, it returns a title like "Company Name without last…
Gintas K
  • 1,438
  • 3
  • 18
  • 38
0
votes
2 answers

While accessing SQL using php, why enter a variable like '".$q."' instead of just $q or "$q"

The statement in question is: $sql="SELECT * FROM user WHERE id = '".$q."'"; Where q is an integer. Why type it like that when you can just type it like $sql="SELECT * FROM user WHERE id = $q"; because it's an integer, it shouldn't require the…
user2624376
0
votes
1 answer

Why are quotation marks showing up on certain text only in Safari?

See this page: http://www.humanperformanceadvisors.com/Prairie/Oklahoma/Postcards/1.html and the pages following. Why am I seeing quotation marks surrounding the product descriptions? These do not appear in Internet Explorer, only in Safari. Any…
Jacob
  • 1
0
votes
1 answer

A good programming language is a conceptual universe for thinking about programming

Could someone please explain this quote? A good programming language is a conceptual universe for thinking about programming. -- Alan Perlis I tried looking for the meaning of "conceptual universe" but cannot find the meaning that would fit in…
wannik
  • 12,212
  • 11
  • 46
  • 58
0
votes
1 answer

PHP Associative Array Quotations

I am writing the result of a database query to an array row by row, then I am adding my own row to the last index of the array. I am using Google developer tools to view the result of the array which are as follows: 10: {strat_id:1, x_id:1,…
Alan A
  • 2,557
  • 6
  • 32
  • 54
0
votes
2 answers

Issue with quotations while writing html in javascript

I am writing a html structure in javascript that I need to return when a link is clicked.I have it like this return '
'+ '
coderunner
  • 925
  • 1
  • 18
  • 33
0
votes
2 answers

Windows command prompt: escape special characters within quotation marks

I´d like to untar a tar.gz file with 7-Zip using this command: forfiles /M *tar.gz /C "cmd /c "C:\Program Files\7-Zip\7z" e @path" but I can´t make it work because of the whitespace within Program Files. How can I escape it? Update: My alternative…
Luis Andrés García
  • 5,852
  • 10
  • 43
  • 57
0
votes
4 answers

Double quotations inside parameters

Trying to programatically add links inside of a table. $("#p"+col).append(""); Note how ...'tableSelect('p"+col+"')'>... is in single quotes, but its…
Hartley
  • 69
  • 1
  • 3
  • 13
0
votes
0 answers

Unwanted back slashes before quotation marks while working with PDO and MySQL in PHP

I have a CMS that its administrator must use it to insert some website gadgets written in JavaScript to its database MySQL. I've used PDO for this, but it puts back slashes before all quotation marks (When I run the project on the internet). So…
Mohammad Saberi
  • 12,864
  • 27
  • 75
  • 127
0
votes
2 answers

how to correctly display double quotations using PHPWord?

well I have been banging my head against the wall trying to fix this for a couple of months already. I have a legacy MySQL database which can be described as character hell. After a lot of work I was able to fix all of the incorrectly displayed…
1 2 3
12
13