About: String literal     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : yago:WikicatProgrammingConstructs, within Data Space : dbpedia.org associated with source document(s)
QRcode icon
http://dbpedia.org/describe/?url=http%3A%2F%2Fdbpedia.org%2Fresource%2FString_literal

A string literal or anonymous string is a string value in the source code of a computer program. Modern programming languages commonly use a quoted sequence of characters, formally "", as in x = "foo", where "foo" is a string literal with value foo. Methods such as can be used to avoid the problem of (issues with brackets) and allow the delimiters to be embedded in a string. There are many alternate notations for specifying string literals especially in complicated cases. The exact notation depends on the programming language in question. Nevertheless, there are general guidelines that most modern programming languages follow.

AttributesValues
rdf:type
rdfs:label
  • حرفيات السلاسل النصية (ar)
  • Literał łańcuchowy (pl)
  • String literal (en)
rdfs:comment
  • حرفيات السلاسل النصية (بالإنجليزية: string literal)‏ أو السلسلة النصية المجهولة (بالإنجليزية: anonymous string)‏ هي نوع من الحرفيات في البرمجة لتمثيل قيمة السلسلة النصية في الكود المصدري لبرنامج حاسوب. غالبًا ما تكون في اللغات الحديثة عبارة عن تسلسل مقتبس من الأحرف (رسميًا «محددات معقوفة bracketed delimiters»)، كما هو الحال في x = "foo"، حيث يكون "foo" عبارة عن سلسلة نصية حرفية ذات قيمة foo - رموز الاقتباسات ليست جزءًا من القيمة، ويجب على المرء استخدام طريقة مثل تسلسلات الهروب لتجنب مشكلة تصادم المحدد والسماح للمحدِّدات نفسها أن تكون مضمنة في سلسلة نصية. ومع ذلك، هناك العديد من الترميزات البديلة لتحديد حرفية السلسلة النصية، ولا سيما الحالات الأكثر تعقيدًا، ويعتمد الترميز الدقيق على لغة البرمجة المعنية بشكل فردي. ومع ذلك، هناك بعض الإرشادات العامة التي تتبعها معظم لغات البرمجة الحديثة. (ar)
  • A string literal or anonymous string is a string value in the source code of a computer program. Modern programming languages commonly use a quoted sequence of characters, formally "", as in x = "foo", where "foo" is a string literal with value foo. Methods such as can be used to avoid the problem of (issues with brackets) and allow the delimiters to be embedded in a string. There are many alternate notations for specifying string literals especially in complicated cases. The exact notation depends on the programming language in question. Nevertheless, there are general guidelines that most modern programming languages follow. (en)
  • Literał łańcuchowy, także: napis, stała łańcuchowa – literał reprezentujący w kodzie źródłowym wartość składającą się z ciągu znaków (łańcuch znaków). Podając w kodzie źródłowym wartość będącą określonym ciągiem znaków, należy go jednoznacznie wyodrębnić, od kodu źródłowego w danym języku programowania. Najczęściej do wyodrębniania literałów łańcuchowych stosuje się określony ogranicznik, tj. znak lub parę znaków. Takie rozwiązanie umożliwia jednoznaczne wyodrębnienie jednostki leksykalnej tekstu programu jaką jest łańcuch. Dzięki takiej konstrukcji składni języka programowania literały łańcuchowe mogą zawierać znaki specjalne, np. spacje, które poza literałami łańcuchowymi najczęściej pełnią rolę separatorów jednostek leksykalnych. (pl)
name
  • Nulls (en)
dcterms:subject
Wikipage page ID
Wikipage revision ID
Link from a Wikipage to another Wikipage
Faceted Search & Find service v1.17_git139 as of Feb 29 2024


Alternative Linked Data Documents: ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3330 as of Mar 19 2024, on Linux (x86_64-generic-linux-glibc212), Single-Server Edition (62 GB total memory, 43 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software